package org.example.common.feign.outer.common.query;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "fudanKnowledgeWork", url = "http://shuyantech.com")
public interface FudanKnowledgeWork {
    @GetMapping("/api/cndbpedia/ment2ent")
    String  ment2ent(@RequestParam("q") String query);

    @GetMapping("//api/cndbpedia/avpair")
    String avpair(@RequestParam("q") String query);
}
